/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package it.nyquistmeteocal.control;

import java.util.Date;
import org.primefaces.model.ScheduleEvent;

/**
 *
 * @author gatb27
 */
public class OurEvent implements ScheduleEvent {

    String id;
    Object data;
    String title;
    Date startDate;
    Date endDate;
    boolean allDay;
    String styleClass;
    boolean isEditable;
    String description;
    
    private Integer eventid;
    private String eventname;
    private String place;
    private String eventdate;
    private String eventtype;
    private String visibility;
    private String weather;
    private String creator;
    private String city;
    private Integer timestart;
    private Integer timefinish;

    public OurEvent() {
    }

    /*public OurEvent(Integer eid,
     String ename,
     String eplace,
     String edate,
     String etype,
     String evisibility,
     String eweather,
     String ecreator,
     String ecity,
     Date etimestart,
     Date etimefinish) {
     this.eventid = eid;
     this.eventname = ename;
     this.place = eplace;
     this.eventdate = edate;
     this.eventtype = etype;
     this.visibility = evisibility;
     this.weather = eweather;
     this.creator = ecreator;
     this.city = ecity;
     this.timestart = etimestart;
     this.timefinish = etimefinish;

     }*/
    public OurEvent(String title, Date startDate, Date endDate, boolean allDay) {
        this.title = title;
        this.startDate = startDate;
        this.endDate = endDate;
        this.allDay = allDay;
    }

    public OurEvent(String title, Date startDate, Date endDate) {
        this.title = title;
        this.startDate = startDate;
        this.endDate = endDate;

    }
    
    public OurEvent(String title,
                    Date startDate,
                    Date endDate,
                    Integer eventid,
                    String eventname,
                    String place,
                    String eventdate,
                    String eventtype,
                    String visibility,
                    String weather,
                    String creator,
                    String city,
                    Integer timestart,
                    Integer timefinish) {
        this.title = title;
        this.startDate = startDate;
        this.endDate = endDate;
        this.eventid = eventid; 
        this.eventname = eventname;
        this.place = place;
        this.eventdate = eventdate;
        this.eventtype = eventtype; 
        this.visibility = visibility;
        this.weather = weather;
        this.creator = creator;
        this.city = city; 
        this.timestart = timestart;
        this.timefinish = timefinish;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Object getData() {
        return data;
    }

    public String getTitle() {
        return title;
    }

    public Date getStartDate() {

        return startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public boolean isAllDay() {
        return allDay;
    }

    public String getStyleClass() {
        return styleClass;
    }
    
    public boolean isEditable() {
        return isEditable;
    }
    
    public String getDescription() {
        return description;
    }
    
    
        
    
    

    public Integer getEventid() {
        return eventid;
    }

    public void setEventid(Integer eventid) {
        this.eventid = eventid;
    }

    public String getEventname() {
        return eventname;
    }

    public void setEventname(String eventname) {
        this.eventname = eventname;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public String getEventdate() {
        return eventdate;
    }

    public void setEventdate(String eventdate) {
        this.eventdate = eventdate;
    }

    public String getEventtype() {
        return eventtype;
    }

    public void setEventtype(String eventtype) {
        this.eventtype = eventtype;
    }

    public String getVisibility() {
        return visibility;
    }

    public void setVisibility(String visibility) {
        this.visibility = visibility;
    }

    public String getWeather() {
        return weather;
    }

    public void setWeather(String weather) {
        this.weather = weather;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public Integer getTimestart() {
        return timestart;
    }

    public void setTimestart(Integer timestart) {
        this.timestart = timestart;
    }

    public Integer getTimefinish() {
        return timefinish;
    }

    public void setTimefinish(Integer timefinish) {
        this.timefinish = timefinish;
    }

    


}
